package com.bean;

public class Enterprise {

    private String enterpriseid;//
    private String enterprise_name;//
    private  String head_sculpture="enterprise.jpg";
    private String address;
    private String telephone;
    private  String password;//
    private  String relname;//

    public Enterprise() {
    }

    public String getEnterpriseid() {
        return enterpriseid;
    }

    public void setEnterpriseid(String enterpriseid) {
        this.enterpriseid = enterpriseid;
    }

    public String getEnterprise_name() {
        return enterprise_name;
    }

    public void setEnterprise_name(String enterprise_name) {
        this.enterprise_name = enterprise_name;
    }

    public String getHead_sculpture() {
        return head_sculpture;
    }

    public void setHead_sculpture(String head_sculpture) {
        this.head_sculpture = head_sculpture;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRelname() {
        return relname;
    }

    public void setRelname(String relname) {
        this.relname = relname;
    }

    public Enterprise(String enterpriseid) {
        this.enterpriseid = enterpriseid;
    }

    public Enterprise(String enterpriseid, String password) {
        this.enterpriseid = enterpriseid;
        this.password = password;
    }

    public Enterprise(String enterpriseid, String enterprise_name, String head_sculpture, String address, String telephone, String password, String relname) {
        this.enterpriseid = enterpriseid;
        this.enterprise_name = enterprise_name;
        if(head_sculpture!=null&&!"".equals(head_sculpture)){
            this.head_sculpture = head_sculpture;

        }
        this.address = address;
        this.telephone = telephone;
        this.password = password;
        this.relname = relname;
    }

    @Override
    public String toString() {
        return "Enterprise{" +
                "enterpriseid='" + enterpriseid + '\'' +
                ", enterprise_name='" + enterprise_name + '\'' +
                ", head_sculpture='" + head_sculpture + '\'' +
                ", address='" + address + '\'' +
                ", telephone='" + telephone + '\'' +
                ", password='" + password + '\'' +
                ", relname='" + relname + '\'' +
                '}';
    }
}
